import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import './assets/css/global.css' //添加全局样式
import './assets/expandFont/iconfont.js'  //全局引入阿里巴巴前端图标样式
import './assets/expandFont/iconfont.css'  //全局引入阿里巴巴前端图标样式
import axios from 'axios'   //导入axios跨域请求
axios.defaults.withCredentials = true;// 允许跨域携带cookie

Vue.prototype.$http = axios  //挂载axois
//设置访问根路径
axios.defaults.baseURL = "http://localhost:9091"

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
